#include <stdio.h>
#include <string.h>
#define BUFFER_SIZE  4
int main()
{
    char *array[BUFFER_SIZE];
    memset(array, 0, sizeof(array));

    array[0] = "zhangsan";
    array[1] = "lisi";
    array[2] = "wangwu";
    array[3] = "nanjing";

    /*打印*/
    for(int idx = 0; idx < BUFFER_SIZE; idx++)
    {

        printf("array[%d] = %s\n", idx, array[idx]);
    }

    printf("array[3][2] = %c\n", array[3][2]);

    /*字符串常函数*/
    /*
     1. strlen
     2. strcpy(字符串复制)
     3. strcmp(字符串比较)
     4. strcat
    */

   //   int ret = strcmp();

    return 0;



}